<template>
  <view class="content">
    <view class="wenben">
      <text class="text1">2024-2025学年第一学期</text>
      <text class="text2">2024年12月08日</text>
    </view>
    <view class="card1">
    	<view class="card1_1">
    		<text class="text3">学生总数：12人</text>
    	</view>
		<view class="card1_2">
			<view class="card1_2_top">
				<text>请假人数:4人</text>
				<text>查看名单</text>
			</view>
			<view class="card1_2_bot">
				<text>应在人数:9人</text>
				<text>查看名单</text>
			</view>
		</view>
    </view>
	<view class="card2">
		<view class="card2_1">
			<text>本院今日异常总数:  3人  </text>
			<text>查看名单</text>
		</view>
		<hr />
		<view class="card2_2">
			<text class="text4">今日上报关键词：</text>
		</view>
		<view class="card2_2">
			<text class="text5">#校外住宿#：#刚办理走读#</text>
		</view>
	</view>
	<view class="card3">
		<view class="card3l">
			<text>未确认学院（2）</text>
		</view>
		<view class="card3r">
			<navigator url="/pages/school/confirmed">
				<button class="button">已确认学院（2)</button>
			</navigator>
		</view>
	</view>
	<view class="card4">
		<view class="card4_1">
			<view class="card4_1l">
				A学院
			</view>
			<view class="card4_1r">
				2020090911000
			</view>
		</view>
		<view class="card4_2">
			<text class="text6">学院学生总数：7人<br /><br />请假人数：4人<br /><br />应在人数：3人</text>
		</view>
		<view class="card4_3">
			<text class="text6">确认人姓名：张明<br /><br />工号：10086<br /><br />联系电话：15800000000</text>
		</view>
	</view>
	<view class="card4">
		<view class="card4_1">
			<view class="card4_1l">
				A学院
			</view>
			<view class="card4_1r">
				2020090911000
			</view>
		</view>
		<view class="card4_2">
			<text class="text6">学院学生总数：7人<br /><br />请假人数：4人<br /><br />应在人数：3人</text>
		</view>
		<view class="card4_3">
			<text class="text6">确认人姓名：张明<br /><br />工号：10086<br /><br />联系电话：15800000000</text>
		</view>
	</view>
  </view>
</template>

<script>
	import {ref} from 'vue'
	// let submit = function(){
	// 	url:navigateTo({
	// 		url:''
	// 	})
	// }
	let Confirmed = function(){
		url:navigateTo({
			url:'/pages/school/confirmed'
		})
	}
</script>

<style scoped>
.content {
  width: 375px;
  margin: 0 auto;
  background-color: #F3F5F9;
}
.wenben {
  display: flex;
  flex-direction: column;
}
.text1 {
  margin-top: 17px;
  margin-bottom: 4px;
  margin-left: 12px;
  width: 172px;
  height: 21px;
  font-size: 15px;
}
.text2 {
  font-size: 12px;
  margin-left: 12px;
  color: #5F5F5F;
}
.card1 {
	width: 351px;
	height: 154px;
	border: 1px solid;
	border-radius: 12px;
	margin-left: 12px;
	margin-bottom: 12px;
}
.card1_1 {
	width: 351px;
	height: 72px;
	background-image: linear-gradient(90deg, #CB2B40 0%, #9C131E 100%);
	border-radius: 12px 12px 0 0;
	border-radius: 12px 12px 0 0;
	display: table;
	margin-bottom: 14px;
}
.text3{
	font-size: 12px;
	padding-left: 11px;
	display: table-cell;
	vertical-align: middle;
}
.card1_2 {
	display: flex;
	flex-direction: column;
}
.card1_2_top,.card1_2_bot,.card2_1 {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.card1_2_top text:nth-child(1),.card1_2_bot text:nth-child(1){
	padding-left: 12px;
	font-size: 12px
}
.card1_2_top text:nth-child(2),.card1_2_bot text:nth-child(2){
	padding-right: 12px;
	color: #006DFF;
	font-size: 12px
}
.card2 {
	width: 351px;
	height: 126px;
	border: 1px solid;
	border-radius: 12px;
	margin-left: 12px;
	margin-bottom: 12px;
}
.card2_1 {
	height: 72px;
	width: 351px;
	display: table;
}
.card2_1 text{
	font-size: 12px;
	padding-left: 11px;
	display: table-cell;
	vertical-align: middle;
}
.text4 {
	font-size: 12px;
	padding-left: 12px;
}
.text5 {
	color: #9C131E;
	font-size: 12px;
	padding-left: 12px;
}
.card3 {
	display: flex;
	flex-direction: row;
}
.card3l {
	width: 113px;
	height: 30px;
	border-radius: 15px;
	font-size: 12px;
	border: 1px solid;
	line-height: 30px;
	text-align: center;
	margin-left: 12px;
}
.card3r {
	width: 113px;
	height: 30px;
	border-radius: 15px;
	border: 1px solid;
	line-height: 30px;
	text-align: center;
}
.card4 {
	width: 351px;
	height: 212px;
	border-radius: 12px;
	border: 1px solid;
	margin-top: 12px;
	margin-left: 12px;
}
.card4_1 {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.card4_1l {
	padding-left: 12px;
	padding-top: 16px;
	font-size: 15px;
	margin-bottom: 8px;
}
.card4_1r {
	padding-top: 20px;
	padding-right: 12px;
	font-size: 12px;
}
.card4_2,.card4_3 {
	width: 319px;
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	padding-left: 12px;
	margin-bottom: 12px;
}
.button {
	font-size: 12px;
}

</style>

